@import url(./base.less);

body {
  background-color: #fbfbfb;
}

// 头部导航栏
.header {
  height: 70px;
  background-color: #fff;

  .w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1220px;
    // background-color: pink;
    margin: 0 auto;
    height: 70px;

    // 左侧logo
    .logo {
      width: 160px;
      height: 30px;
    }

    // 右侧小导航栏
    .nav {
      // background-color: #fff;

      ul {
        display: flex;

        li {
          margin-left: 44px;

          &:nth-child(1) {
            margin-left: 0;
          }

          a {
            color: black;
            padding-bottom: 8px;


            &:hover {
              color: #ff9e4b;
              border-bottom: 2px solid #ff9e4b;
            }
          }
        }
      }
    }
  }
}

// banner图
.banner {
  height: 420px;
}


// 多处使用左右箭头，单独拿出，作为公共部分
.prev,
.next {

  display: block;
  text-align: center;
  line-height: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f6f7fa;

  .iconfont {
    font-weight: 700;
    color: #6b737e;
  }
}

.next {
  background-color: #fff4eb;

  .iconfont {
    color: #ff9e4b;
  }
}

// 左箭头的定位位置
.prev {
  position: absolute;
  left: -90px;
  top: 300px
}

// 右箭头的定位位置
.next {
  position: absolute;
  right: -90px;
  top: 300px
}

h2 {
  text-align: center;
  margin-bottom: 5px;
  // background-color: yellow;
  font-size: 32px;
  line-height: 1;
}

.English {
  margin-bottom: 30px;
  background-color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

// 推荐活动、热门栏目、精品课程部分
.recommend {
  background-color: #fff;

  .w {
    width: 1220px;
    min-height: 1000px;
    margin: 0 auto;

    li {
      margin-right: 25px;
      position: relative;

      a {
        display: block;

        &:hover {
          h4 {
            color: #ff9e4b;
          }
        }

        .pic {
          overflow: hidden;
          padding-top: 13px;
          height: 246px;
          width: 390px;
          background-color: black;
          border-radius: 10px;

          img {
            height: 220px;

            &:hover {
              transform: scale(1.13);
              transition: all 0.6s;
            }

          }
        }

        h4 {
          margin: 15px 0 10px;
          line-height: 1;
          font-weight: normal;

        }

        .info {
          line-height: 1;
        }
      }

      .player {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-100%);
        transform: translateY(-100%);
        width: 46px;
        height: 46px;
        background-image: url(../../img/Play/img/1.png);
      }

    }

    // 推荐活动
    .active {
      padding-top: 100px;
      position: relative; // 为了让左右箭头进行定位

      .active-content {
        overflow: hidden; // 解决内部盒子外边距塌陷问题，以及影藏多的li标签
        // background-color: pink;
        min-height: 50px;

        .active-item {
          display: flex;
        }

      }
    }

    // 热门栏目
    .column {
      padding-top: 100px;
      position: relative; // 为了让左右箭头进行定位

      // 左箭头的定位位置
      .prev {
        // display: none;
        top: 350px;

        // &:nth-child(1) {
        //   display: block;
        // }

        // &:nth-child(2) {
        //   display: none;
        // }

        // &:nth-child(3) {
        //   display: none;
        // }

      }

      // 右箭头的定位位置
      .next {
        // display: none;
        top: 350px;

        // &:nth-child(1) {
        //   display: block;
        // }

        // &:nth-child(2) {
        //   display: none;
        // }

        // &:nth-child(3) {
        //   display: none;
        // }
      }

      .column-content {
        overflow: hidden;

        .column-tab {
          text-align: center;
          font-size: 20px;
          margin-bottom: 40px;

          span {
            margin-right: 80px;
            display: inline-block;

            a {
              color: black;
              padding-bottom: 8px;

              &:hover {
                color: #ff9e4b;
                border-bottom: 2px solid #ff9e4b;
              }
            }
          }
        }


        .column-item-one,
        .column-item-two,
        .column-item-three {
          display: flex;
        }
      }


    }

    // 精品课程
    .course {
      padding-top: 100px;

      .course-content {
        overflow: hidden;

        .course-tab {
          text-align: center;
          font-size: 20px;
          margin-bottom: 40px;

          span {
            margin-right: 80px;
            display: inline-block;

            a {
              color: black;
              padding-bottom: 8px;

              &:hover {
                color: #ff9e4b;
                border-bottom: 2px solid #ff9e4b;
              }
            }
          }
        }

        .course-item-one,
        .course-item-two,
        .course-item-three {
          display: flex;
        }

        li {
          padding-bottom: 100px;
        }
      }
    }


  }

}


// 高校合作
.school {
  padding-top: 100px;

  .w {
    width: 1220px;
    margin: 0 auto;

    ul {
      display: flex;

      li {
        margin-right: 35px;
        width: 282px;

        &:hover {
          h4 {
            color: #ff983f;
          }

          box-shadow: 0 3px 8px rgb(0 0 0 / 20%);
          transform: translate(0, -5px);

        }

        &:last-child {
          margin-right: 0
        }

        a {
          display: block;
          padding-bottom: 40px;
          background-color: #fff;

          img {

            border-radius: 10px;
          }

          .text {
            padding: 20px 32px 0 24px;
            line-height: 1;

            h4 {
              margin-bottom: 7px;
              font-size: 16px;
              font-weight: 700;
            }

            p {
              font-size: 14px;
              color: #878384;
              line-height: 22px;
            }
          }
        }
      }
    }
  }

}


// 合作院校
.partner {
  background-color: #fff;
  margin-top: 80px;
  padding-top: 60px;
  padding-bottom: 60px;

  .w {
    width: 1220px;
    margin: 0 auto;

    .partner-content {

      .partner-item {
        text-align: center;

        li {
          display: inline-block;
          margin-bottom: 50px;
          width: 12%;
          text-align: center;

          &:nth-child(8n) {
            margin-right: 0;
          }

          img {
            margin-left: 26px;
            width: 93px;
            height: 93px;
            vertical-align: middle;
          }


        }
      }
    }
  }




}



// 合作联系
.link {
  padding-top: 100px;
  padding-bottom: 100px;

  .w {
    width: 1220px;
    margin: 0 auto;

    .link-content {
      p {
        margin-bottom: 80px;
      }

      .link-item {
        display: flex;
        justify-content: space-between;

        li {
          a {
            padding: 30px 100px;
            background-color: #fff;
            font-size: 26px;

            .iconfont {
              font-size: 30px;
              vertical-align: middle;
            }

            &:hover {
              color: #ff983f;
            }
          }
        }
      }
    }
  }
}


// 关注三七互娱招聘，获取实时动态
.focus {
  margin-bottom: 100px;
  background-color: #fff;

  .w {
    width: 1220px;
    margin: 0 auto;

    .focus-item {
      display: flex;
      justify-content: space-around;

      li {
        // background-color: gray;
        overflow: hidden;

        .photo {
          // overflow: hidden;
          width: 170px;
          height: 170px;
          // background-color: #ff983f;
          padding: 10px;


          .App {
            // overflow: hidden;
            margin: 50px auto;
            width: 62px;
            height: 51px;
            background-image: url(../../img/Play/img/_6324268695ea2.png);
          }

          img {
            height: 130px;
            width: 130px;
            margin: 10px;
            // display: none;
            opacity: 0;
          }
        }
      }
    }
  }
}


// 底部
.footer {
  background-color: #393e4f;

  .w {
    height: 256px;
    width: 1220px;
    margin: 0 auto;

    .footer-content {
      height: 256px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .footer-content-left {
        display: flex;

        h5 {
          font-size: 20px;
          font-weight: normal;
          color: #abbbc1;
        }

        ul {
          margin-right: 50px;

          li {
            a {
              color: #9398ab;
              font-size: 14px;

              &:hover {
                color: #ff7500;
              }
            }
          }
        }

      }

      .footer-content-right {
        text-align: right;
        line-height: 1;

        h1 {
          display: inline-block;
          width: 161px;
          height: 47px;
          background-image: url(../../img/Play/img/logo_btm.png);
          margin-bottom: 20px;
        }

        .text {
          font-size: 14px;
          color: #9398ab;

          p {
            a {
              color: #9398ab;

              &:hover {
                color: #ff7500;
              }
            }

            &:first-child {
              margin-bottom: 10px;
            }
          }
        }
      }
    }
  }
}